package cn.ytxy.double_system_data_visualization_demo.user.service;


import cn.ytxy.double_system_data_visualization_demo.user.pojo.dto.UserLoginParam;
import cn.ytxy.double_system_data_visualization_demo.user.pojo.dto.UserQuery;
import cn.ytxy.double_system_data_visualization_demo.user.pojo.dto.UserSaveParam;
import cn.ytxy.double_system_data_visualization_demo.user.pojo.entity.User;
import cn.ytxy.double_system_data_visualization_demo.user.pojo.vo.UserVO;

import java.util.List;

public interface UserService {
    UserVO login(UserLoginParam userLoginParam);

    List<UserVO> selectUser(UserQuery userQuery);

    void saveUser(UserSaveParam userSaveParam);

    void deleteUser(Long userId);

    void addScore(Long userId, int score,String reason);

    void subtractScore(Long userId, int score,String reason);

}
